//
//  Header.swift
//  李东阳微博
//
//  Created by 李东阳 on 16/4/16.
//  Copyright © 2016年 李东阳. All rights reserved.
//

import UIKit


 let UIScreeonwidth = UIScreen.mainScreen().bounds.width
let ScreenHeight = UIScreen.mainScreen().bounds.height

func RGB (red red: CGFloat, green: CGFloat, blue: CGFloat)-> UIColor{
    
    return UIColor(red: red/255, green: green/255, blue: blue/255, alpha: 1)
}

func randomColor() -> UIColor{


let r = random() % 256
    
let g = random() % 256
    
let b = random() % 256
    
    return RGB(red: CGFloat(r), green: CGFloat(g), blue: CGFloat(b))

}

let myTintColor = UIColor.orangeColor()




//Mark --   关于切换根视图的通知标示符
let swithDefaultVcDefaultCenter = "swithDefaultVcDefaultCenter"


/// 关于微博
let APPKEY = "2502178694"
let APPSECRET = "cab21a615b11a37b9000c9082ddad03d"
let  REDIRECT_URI = "http://www.baidu.com/"



let CZWeiboName = "jubeisi0516873@163.com"
let CZWeiboPasswd = "958794"
